#pragma once
#include "sdl_video.h"

class CGrass
{
public:
	CGrass(void);
	virtual ~CGrass(void);
	void Init();
	void SetPos( int x, int y );
	void OnDraw();
	void SetLimit( int min, int max );
	void OnMove();
	int GetVertical() const;
	int GetX() const;
	int GetY() const;
	bool CollideSth( int x, int y, int w, int h );
	void Repos();
	void SetDitch( int nDitch );
	void SetVertical( int v );
public:
private:
	int m_nMinY;
	int m_nMaxY;
	SDL_Rect m_rect1;
	SDL_Rect m_rect2;
	Uint32 m_colorBlue;
	int m_nV;
	int m_nDitch;
};
